/*
 * Copyright 2000-2020 ALPHA LAB.Inc All Rights Reserved.
 */
package com.alphalab.moonlight.demo.dao.model;

import java.math.BigDecimal;
import java.util.Date; 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table; 
import com.alphalab.framework.domain.BaseEntity;

/**
 * 航线信息表PO.
 * @author allen 
 * @version 1.0.0 2018年2月8日
 */
@Entity
@Table(name = "DEMO_AIRLINE")
public class Airline extends BaseEntity {
	
	/**
	 * 航线ID.
	 */
	private String airlineId;
	
	/**
	 * 航班编号.
	 */
	private String flightId; 
	
	/**
	 * 出发点.
	 */
	private String departure;
	
	/**
	 * 终点.
	 */
	private String destination;
	
	/**
	 * 出发时间.
	 */
	private Date beginDate;	 
	
	/**
	 * 到达时间.
	 */
	private Date endDate;  
	
	/**
	 * 票价.
	 */
	private BigDecimal price;  
	
	/**
	 * @return the airlineId
	 */
	@Id 
	@Column(name = "AIRLINE_ID")	
	public String getAirlineId() {
		return airlineId;
	}
	
	/**
	 * @param airlineId the airlineId to set
	 */
	public void setAirlineId(String airlineId) {
		this.airlineId = airlineId;
	} 
	
	/**
	 * @return the departure
	 */
	@Column(name = "DEPARTURE")	
	public String getDeparture() {
		return departure;
	}
	
	/**
	 * @param departure the departure to set
	 */
	public void setDeparture(String departure) {
		this.departure = departure;
	}
	
	/**
	 * @return the destination
	 */
	@Column(name = "DESTINATION")	
	public String getDestination() {
		return destination;
	}
	
	/**
	 * @param destination the destination to set
	 */
	public void setDestination(String destination) {
		this.destination = destination;
	}
	
	/**
	 * @return the beginDate
	 */
	@Column(name = "BEGIN_DATE")	
	public Date getBeginDate() {
		return beginDate;
	}
	
	/**
	 * @param beginDate the beginDate to set
	 */
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	
	/**
	 * @return the endDate
	 */
	@Column(name = "END_DATE")	
	public Date getEndDate() {
		return endDate;
	}
	
	/**
	 * @param endDate the endDate to set
	 */
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	} 
	
	/**
	 * @return the price
	 */
	@Column(name = "PRICE")	
	public BigDecimal getPrice() {
		return price;
	}
	
	/**
	 * @param price the price to set
	 */
	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	/**
	 * @return the flightId
	 */
	@Column(name = "FLIGHT_ID")	
	public String getFlightId() {
		return flightId;
	}

	/**
	 * @param flightId the flightId to set
	 */
	public void setFlightId(String flightId) {
		this.flightId = flightId;
	}  
	
}
